package com.hrbxlh.virtualization.param;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 分享实验环境的参数
 *
 * @author cheer
 */
public class DesktopShareParam {

    /**
     * 分享的容器Id
     */
    @NotNull(message = "虚拟机Id不能为空")
    private Long containerId;

    /**
     * 分享的目标用户Id集合
     */
    @NotEmpty(message = "未选择分享的用户")
    private List<String> stuorteaIdList;

    /**
     * 是否允许对方控制分享的桌面
     */
    private Boolean controllable;

    public Long getContainerId() {
        return containerId;
    }

    public void setContainerId(Long containerId) {
        this.containerId = containerId;
    }

    public List<String> getStuorteaIdList() {
        return stuorteaIdList;
    }

    public void setStuorteaIdList(List<String> stuorteaIdList) {
        this.stuorteaIdList = stuorteaIdList;
    }

    public Boolean isControllable() {
        return controllable;
    }

    public void setControllable(Boolean controllable) {
        this.controllable = controllable;
    }
}
